package com.ccp.dev.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

//@SpringBootApplication
/**
 * @author niudong
 *
 */
@Configuration
//@ComponentScan(basePackages = {"com.ccp.dev.*"})
//@MapperScan(basePackages = {"com.ccp.dev.*.dao"})
@ImportResource(locations = {"classpath:security.xml","classpath:application-resources.xml","classpath:fileUserSecurity.xml"})
@ServletComponentScan
@EnableWebSecurity
public class SysConfigApplication {


}
